<template>
  <div class="home-breadcrumb">
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item v-for="item in breadCrumb" :key="item">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
  export default{
    // 接受content组件传过来的数据
    props:{
      breadCrumb:Array
    },

  }
</script>

<style>
  .home-breadcrumb{
    width: 100%;
    height: 30px;
    line-height: 30px;
    margin: 5px;
    font-family: "华文新魏 Bold", "华文新魏";
  }
</style>
